package backend;

public class RouteLeg
{
	private int id;
	private String destination;
	private String airline;
	private int index;
	
	public RouteLeg(int idIn, String dest, String air, int i)
	{
		id = idIn;
		destination = dest;
		airline = air;
		index = i;
	}

	public int getId() {
		return id;
	}
	
	public String getDestination() {
		return destination;
	}

	public String getAirline() {
		return airline;
	}
	
	public int getIndex() {
		return index;
	}

	public void setId(int i) {
		id = i;
	}
}
